﻿/******************************************************   
创建者: ljj
创建时间: 2018-09-10
修改:
修改时间: 
功能: 微信
 ******************************************************/

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.kmer.Attributes;

namespace WxNewOrderAPI.model
{
    public class WXNewModel
    {
        /// <summary>
        /// 
        /// </summary>
        /// writer:ljj
        /// Create Date：2018-09-10
        public class LoginModel: com.kmer.ApiServer.com.kmer.Model.WXUserData
        {
            public IList<NewOrderModel.OrderMasterModel> goingOrderList { get; set; }
            public int AllOrder { get; set; }
            public int ToPart { get; set; }
        }
        /// <summary>
        /// 
        /// </summary>
        /// writer:ljj
        /// Create Date：2018-09-10
        public class CodeModel
        {
            [ParamDescription("权限类型：0-管理员，1-查看，2-评分.3-审版")]
            public int AccountType { get; set; }
            [ParamDescription("来源账号")]
            public string SourceOpenId { get; set; }

            [ParamDescription("校验码")]
            public Guid CheckCode { get; set; }
        }
        /// <summary>
        /// 
        /// </summary>
        /// writer:ljj
        /// Create Date：2018-09-10
        public class UserModel : com.kmer.ApiServer.com.kmer.Model.WXUserData
        {
            [ParamDescription("系数")]
            public decimal ScoreRate { get; set; }
            [ParamDescription("是否禁用")]
            public bool IsDisable { get; set; }
            [ParamDescription("是否删除")]
            public bool IsRemove { get; set; }
            [ParamDescription("是否企业微信")]
            public bool Iswxwork { get; set; }
        }
        /// <summary>
        /// 
        /// </summary>
        /// writer:ljj
        /// Create Date：2018-09-10
        public class ModifyModel
        {
            [ParamDescription("来源账号")]
            public string SourceOpenId { get; set; }
            public IList<UserModel> userList { get; set; }
        }
    }
}
